package cn.spring.grab;

import cn.spring.grab.utils.AppUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.env.Environment;

@SpringBootApplication
@MapperScan("cn.spring.grab.mapper")
public class ScloudDataGrabApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(ScloudDataGrabApplication.class);
        Environment env = app.run(args).getEnvironment();
        AppUtil.logApplicationStartup(env);
    }

}
